$NOTI_W: 320px;

.cp-noti {


  &.noti {
    //position: fixed;
    z-index: 101;
    width: 100vw;
    top: 0;
    left: 0;
    
    > .mask {
      position: absolute;
      width: 100%;
      height: 100%;
      //background: rgba(0, 0, 0, 0.7);
    }

    > .inner {
      width: 100%;
      box-sizing: border-box;
      position: absolute;
      padding: 24px 40px;
      z-index: 11;
      top: 50%;
      left: 50%;
      @include transform(translate(-50%, -50%));
    }

    .underlay {
      z-index: 9;
      left: 40px;
      top: 50%;
      @include transform(translateY(-50%));
      width: calc(100% - 80px);
    }
  }

  > .inner {
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    position: relative;

    > .header {
      padding: 6px 0;
      position: relative;
      font-size: 16px;

      &:after {
        content: "";
        background-image: -moz-linear-gradient(to right, rgba(38, 212, 255, 0) 0%, rgb(40, 212, 255) 50%, rgba(41, 212, 255, 0) 100%);
        background-image: -webkit-linear-gradient(to right, rgba(38, 212, 255, 0) 0%, rgb(40, 212, 255) 50%, rgba(41, 212, 255, 0) 100%);
        background-image: -ms-linear-gradient(to right, rgba(38, 212, 255, 0) 0%, rgb(40, 212, 255) 50%, rgba(41, 212, 255, 0) 100%);
        background-image: linear-gradient(to right, rgba(38, 212, 255, 0) 0%, rgb(40, 212, 255) 50%, rgba(41, 212, 255, 0) 100%);
        position: absolute;
        left: 50%;
        width: 100%;
        height: 1px;
        z-index: 9;
        bottom: 0;
        @include transform(translateX(-50%));
      }
    }

    > .content {
      padding: 6px 0;
      font-size: 12px;
    }

    > .underlay {

    }
  }

  .underlay {
    width: 100%;
    pointer-events: none;
    position: absolute;

    > * {
      background-size: 100% 100%;
      box-sizing: border-box;
    }

    > .wing {
      position: absolute;
      //width: 70px;
      height: 105%;
      background-repeat: no-repeat;
      background-size: contain;
      top: 50%;
      @include transform(translateY(-50%));

      &.l {
        left: -5%;
      }

      &.r {
        right: -5%;
      }
    }

    > .header {
      background-image: url("https://yinli-qixi-run.varwey.com/2023/230318-changan-kv-game/img/border-inner-header.png");
      height: calc(#{$NOTI_W} / 11.6);
    }

    > .content {
      text-align: center;
      background-image: url("https://yinli-qixi-run.varwey.com/2023/230318-changan-kv-game/img/border-inner-body.png");
    }

    > .footer {
      background-image: url("https://yinli-qixi-run.varwey.com/2023/230318-changan-kv-game/img/border-inner-header.png");
      height: calc(#{$NOTI_W} / 11.6);
      transform: rotate(180deg);
    }
  }
}

